import sys

# python脚本执行增加入参

arguments = sys.argv
script_name = arguments[0]
other_arguments = arguments[1:]
print("脚本名称:", script_name)
j = 1
for i in arguments[1:]:
    if i != '':
        print(f"第{j}个参数:{i}")
        j +=1